/*
 *  Created at 2012-04-10 14:33 GMT-03:00
 *  Author: Victor Williams Stafusa da Silva
 *  JSmartUnit
 */
package org.jsmartunit.test.tools;

import org.junit.Assert;
import org.junit.Ignore;
import org.junit.Test;

/**
 * @author Victor Williams Stafusa da Silva
 */
@Ignore
public class Match {
    private final Event expected;
    private final Event actual;

    public Match(Event expected, Event actual) {
        this.expected = expected == null ? Event.getNull() : expected;
        this.actual = actual == null ? Event.getNull() : actual;
    }

    @Test
    public void testMatchType() {
        Assert.assertEquals(expected.getType(), actual.getType());
    }

    @Test
    public void testDescription() {
        Assert.assertEquals(expected.getDescription(), actual.getDescription());
    }

    @Test
    public void testFailureType() {
        Assert.assertEquals(expected.getFailureType(), actual.getFailureType());
    }
}
